Skip to content

Update defaults for NorMuon#54

Merged
JohnLangford merged 3 commits intomicrosoft:mainfrom
JohnLangford:ch-defaults
Apr 8, 2026
Merged

Update defaults for NorMuon#54
JohnLangford merged 3 commits intomicrosoft:mainfrom
JohnLangford:ch-defaults

Conversation

@JohnLangford
Copy link
Copy Markdown
Contributor

Includes all changes from #53 plus an additional fix for a clear error message when the gram-newton-schulz package is missing.

Changes

  • use_gram_newton_schulz default: FalseTrue
  • use_polar_express default: FalseTrue
  • NorMuon adjust_lr default: "rms_norm""spectral_norm"
  • Wrap gram_newton_schulz import in try/except with actionable error message (matching the existing use_triton pattern)

Supersedes #53.

Noah Amsel and others added 3 commits April 7, 2026 08:16
Since use_gram_newton_schulz now defaults to True, a missing package
produces a confusing bare ImportError. Wrap the import in try/except
with an actionable message, matching the existing use_triton pattern.
@JohnLangford JohnLangford merged commit 64a08b1 into microsoft:main Apr 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant